package ch9.thread2;

public class PrintThread2 implements Runnable {
	private String name;

	public PrintThread2(String n) {
		name = n;
	}

	@Override
	public void run() {
		for (int i = 1; i <= 20; i++) {
			System.out.println(name + "print " + i);
		}
	}

}
